package com.yytek.job.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yytek.common.core.annotation.Excel;
import com.yytek.common.core.web.domain.BaseEntity;

/**
 * 模板设备关联对象 plan_template_device_topo
 *
 * @author yytek-iot
 * @date 2022-07-29
 */
@ApiModel("模板设备关联对象")
public class PlanTemplateDeviceTopo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板id */
    @ApiModelProperty("模板id")
    private Long templateId;

    /** 设备id */
    @ApiModelProperty("设备id")
    private String deviceId;

    public void setTemplateId(Long templateId)
    {
        this.templateId = templateId;
    }

    public Long getTemplateId()
    {
        return templateId;
    }
    public void setDeviceId(String deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId()
    {
        return deviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("templateId", getTemplateId())
                .append("deviceId", getDeviceId())
                .toString();
    }
}
